package com.ontheroad.mysql.activity.mapper;

import com.ontheroad.activity.model.ActivityModel;
import com.ontheroad.api.response.JoinApplyResponse;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.mybatis.mapper.interfaces.GenericMapper;

import java.util.List;


/**
 * ActivityDAO接口
 *
 * @author admin
 */
public interface ActivityMapper extends GenericMapper<ActivityModel,Integer>{
    List<Integer> getActivityIdsByFreindJoin(Integer userId);

    List<JoinApplyResponse> getJoinApplyList(@Param("userId") Integer userId, @Param("rowBounds") RowBounds rowBounds);

    //------------------请在此添加自定义方法（开始）------------------
	//------------------请在此添加自定义方法（结束）------------------

    
}
